<?
        require_once(__DIR__ . '/../inc/Item.php');
        $row = GetItemDetail($_REQUEST['id']);
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Item Detail</title>
    <link rel="stylesheet" type="text/css" href="../inc/bootstrap.css">
    <style type="text/css" ">
        .error { color: red; }
    </style>
</head>
<body>
        
        <? include('../inc/header.php'); ?>
        <div class="container">
                        <? include('../inc/nav.php'); ?>
            <div id="contents" style="width: 625px; float: right;">
			<table class="table table-striped table-bordered table-condensed table-hover">
                	<tr>
                    	<th>Item Detail</th>
                        
                    </tr>
					</table>
                <table class="table table-striped table-bordered table-condensed table-hover">
                    <tr>
						<th>Id Number</th>
                        <th>Product Name</th>
                        <th>Product Description</th>
                        <th>SKU</th>		
						<th>Stock</th>
                        <th>Price</th>
						<th>created_at</th>
                        <th>updated_at</th>	       			
                    </tr>
                    <tr>
						<td><?=$row['id']?></td>
					    <td><?=$row['ProductName']?></td>
                        <td><?=$row['ProductDescription']?></td>
                        <td><?=$row['SKU']?></td>
						<td><?=$row['Stock']?></td>
					    <td><?=$row['Price']?></td>
						<td><?=$row['created_at']?></td>
                        <td><?=$row['updated_at']?></td>
                     </tr>
				</table>
				
            </div>
        </div>
    </body>
</html>